package com.yonyou.cms.epc.client.dto.graphic;


import com.yonyou.cms.epc.client.dto.BaseDTO;
import com.yonyou.cyx.function.utils.bean.BeanMapperUtil;
import com.yonyou.cyx.framework.bean.entity.base.BasePO;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author yzy
 * @since 2022-06-08
 */

public class GraphicSystemDTO extends BaseDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 系统代码
     */
    private Integer systemId;
    /**
     * 系统名称
     */
    private String systemCode;
    /**
     * 图解系统id
     */
    private String systemName;
    /**
     * 状态 (10031001启用/10031002禁用)
     */
    private Integer statu;

    
    public GraphicSystemDTO() {
        super();
    }




    public Integer getSystemId() {
        return systemId;
    }


    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }



    public String getSystemCode() {
        return systemCode;
    }


    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }



    public String getSystemName() {
        return systemName;
    }


    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }



    public Integer getStatu() {
        return statu;
    }


    public void setStatu(Integer statu) {
        this.statu = statu;
    }






    @Override
    public String toString() {
        return "GraphicSystemDTO{" +
        "systemId=" + systemId +
        ", systemCode=" + systemCode +
        ", systemName=" + systemName +
        ", statu=" + statu +
        "}";
    }
    /**
     * 将DTO 转换为PO
     * //对某个对象属性进行赋值
     * //BeanMapperUtil.populateValueByMethod(transPO,"setXxx",this.getXxx);
     * @param poClass dto 需要转换的dto
     * @author yzy
     * @since 2018/7/22 0022
     */
    @Override
    public <T extends BasePO> T transDtoToPo(Class<T> poClass) {
        return super.transDtoToPo(poClass);
    }

    /**
     * 将DTO 转换为PO
     * BeanMapperUtil.populateValueByMethod(transPO,"setXxx",this.getXxx);
     * @param po 需要转换的对象
     * @author yzy
     * @since 2018/7/22 0022
     */
    public <T extends BasePO> void transDtoToPo(T po) {
        BeanMapperUtil.copyProperties(this, po, "systemId");
    }

}
